import { ModalProps } from 'antd/lib/modal/Modal';
import { ButtonProps } from 'antd/lib/button/button';

export interface GModalButtonProps extends ButtonProps {
  text?: string;
  button?: ButtonProps;
  modal?: ModalProps;
  onOpen?: () => void;
  onOk?: () => Promise<any> | void;
  onCancel?: () => Promise<any> | void;
}
